package cn.panda.edu.dao;

import cn.panda.edu.model.Exam;
import cn.panda.edu.model.ExamOrder;

import java.util.List;

/**
 * 
 * 类描述：  考试信息表(删除状态   1为未删除状态，0为已删除状态)DAO
 */
public interface ExamMapper {
	
	List<Exam> getAllExam();
	/**
	 * 
	* @Title: deleteByPrimaryKey 
	* @Description: TODO(通过考试信息编号删除) 
	* @param @param examId
	* @param @return  
	* @return int
	 */
    
	int deleteByPrimaryKey(Integer examId);

    /**
     * 
    * @Title: insert 
    * @Description: TODO(添加考试信息) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int insert(Exam record);

    /**
     * 
    * @Title: insertSelective 
    * @Description: TODO(动态插入) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int insertSelective(Exam record);

    /**
     * 
    * @Title: selectByPrimaryKey 
    * @Description: TODO(通过考试信息编号查询考试信息) 
    * @param @param examId
    * @param @return  
    * @return Exam
     */
    Exam selectByPrimaryKey(Integer examId);

    /**
     * 
    * @Title: updateByPrimaryKeySelective 
    * @Description: TODO(动态更新) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int updateByPrimaryKeySelective(Exam record);

    /**
     * 
    * @Title: updateByPrimaryKey 
    * @Description: TODO(通过考试信息编号更新) 
    * @param @param record
    * @param @return  
    * @return int
     */
    int updateByPrimaryKey(Exam record);
    /**
     * 
    * @Title: insertExamOrder 
    * @Description: 添加预约考试表信息
    * @param examOrder  
    * void
     */
	void insertExamOrder(ExamOrder examOrder);
}